A few functions should be static in shutdown.c.
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Mon, 1 May 2006 16:41:02 +0000 (17:41 +0100)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Mon, 1 May 2006 16:41:02 +0000 (17:41 +0100)
Signed-off-by: Keir Fraser <keir@xensource.com>
xen/arch/x86/shutdown.c

index bf9015280a8f20375a5ac99d0deed31387b2c996..45085d203d20459905ce3d9f73569ed1a10f82a4 100644 (file)
@@ -41,7 +41,7 @@ static inline void kb_wait(void)
             break;
 }
 
-void __attribute__((noreturn)) __machine_halt(void *unused)
+static void __machine_halt(void *unused) __attribute__((noreturn))
 {
     for ( ; ; )
         __asm__ __volatile__ ( "hlt" );
@@ -127,7 +127,7 @@ static const unsigned char jump_to_bios [] =
  * specified by the code and length parameters.
  * We assume that length will aways be less that MAX_LENGTH!
  */
-void machine_real_restart(const unsigned char *code, unsigned length)
+static void machine_real_restart(const unsigned char *code, unsigned length)
 {
     local_irq_disable();